package com.biyu.monitormanage.enums;

/**
 * @author 15491
 */
public enum WrongEnums {

    /**
     * 查询结果为空
     */
    RESULT_NULL(10001, "查询结果为空"),

    /**
     * 报警异常
     */
    POLICE_ECE(10002, "报警异常"),

    /**
     * 线程异常
     */
    THREAD(10003, "线程异常")
    ;

    /**
     * 错误码
     */
    private final Integer code;

    /**
     * 描述信息
     */
    private final String msg;

    WrongEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
